#ifndef __PSM_H__
#define __PSM_H__

#include <stdint.h>

#define PM_POWERON 0
#define PM_CHRAGING 1
#define PM_RUN 2
#define PM_GOTO_SLEEP 3

void psm_task_init(void);
uint8_t psm_get_status(void);
void psm_set_task_status(uint8_t task_id);

#endif